package com.jianbing.util;

import java.util.Collection;

/**
 * Created by Han,Tixiang on 2016/8/22 0022.
 */
public class ColletionUtils {

    public static boolean isEmpty(Collection collection) {
        if (collection == null || collection.isEmpty()) {
            return true;
        }
        return false;
    }


    public static boolean isNotEmpty(Collection collection) {
        return !isEmpty(collection);
    }
}
